package demo1;

public class Cat extends Animal{
    public Cat(String name,int age){
        super(name,age);
    }
    @Override
    public void eat(){
        System.out.println(super.getName()+"在吃猫粮....");
    }

    public void mem(){
        System.out.println(super.getName()+"在喵喵喵");
    }
}
